<?php

session_start();
if(!session_is_registered(myusername)){
//header("location:index.html");
$username = $_SESSION['username'];

}
//What this does now: Knows current user doing the voting, (kind of) knows background image being referenced- messy. use SQL query later.
//TO DO HERE: 	Get image ID from filename
//				display all annotations for specific image ID

?>
<html>
<body>
<?
$filename =$_COOKIE["imagePath"];
echo "The image with filename: ". $filename . "is being edited by ".$username."<br/>";
echo "<img src='".$filename."'/>";

?>
</body>
